const seq = require('sequelize');
const db = require('../config/database');
const Model = db.defineModel('xs_booktype', {
	typename: {
		type: seq.STRING(20),
		comment: '类型名称',
		unique: true
	},
	typesort: {
		type: seq.INTEGER,
		comment: '类型排序'
	}
});
module.exports = Model;